package com.wlz.creational.abstractfactory.factories;

import com.wlz.creational.abstractfactory.buttons.Button;
import com.wlz.creational.abstractfactory.buttons.MacOSButton;
import com.wlz.creational.abstractfactory.checkboxes.Checkbox;
import com.wlz.creational.abstractfactory.checkboxes.MacOSCheckbox;

/**
 * @author： wlz
 * @Date 2020/10/14 13:43
 * @description： TODO
 * @version: 1.0
 */
public class MacOSFactory implements GUIFactory {
    @Override
    public Button createButton() {
        return new MacOSButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new MacOSCheckbox();
    }
}
